package com.agenda.client.requisicoes;

import java.io.Serializable;
import com.agenda.comum.ObjectEnvioInformacao;
import com.agenda.model.Compromisso;
import com.agenda.model.Requisicao;
import com.agenda.model.RequisicaoEnum;

public class VerificarChoqueCompromissoRequisicao extends ObjectEnvioInformacao {

	private Compromisso compromisso;

	public VerificarChoqueCompromissoRequisicao(Compromisso compromisso) {
		this.compromisso = compromisso;
	}

	@Override
	public Requisicao getRequisicao() {
		return new Requisicao(RequisicaoEnum.VERIFICAR_CHOQUE.getId());
	}

	@Override
	public Serializable getObjeto() {
		return compromisso;
	}
}
